package cn.operation.backend.service;


import cn.operation.base.model.WaybillDO;

import java.util.Date;

/**
 * Created by Felix on 2017/8/29 9527.
 */
public interface WayBillService {

    /**
     * 根据运单号，获取运单明细信息。
     * @param waybillCode
     * @return
     * @throws Exception
     */
    WaybillDO queryByWaybillCode(String waybillCode) throws Exception;

    /**
     * 根据运单号更新运单运抵状态。
     * @param waybillCode
     * @param shipToDate
     * @return
     * @throws Exception
     */
    Integer updateShipTo(String waybillCode, Date shipToDate) throws Exception;
}
